package com.pj.wisdomlogistics.entity;

import java.util.List;

/**
 * Created by HelloWorld on 2017/9/13.
 */

public class TakeoutDetailInfo {

    /**
     * outFoodID : 21
     * userID : 2
     * orderID : 1505287279223
     * totalPrice : 2.4
     * createTime : 2017-09-13 15:21:19.0
     * state : 0
     * detailList : [{"detailID":61,"orderID":"1505287279223","foodID":1,"foodName":"馒头","foodPrice":1.4,"foodCount":2,"foodUnit":"个"},{"detailID":62,"orderID":"1505287279223","foodID":2,"foodName":"肉包","foodPrice":1,"foodCount":1,"foodUnit":"个"}]
     */

    private int outFoodID;
    private String userID;
    private String orderID;
    private double totalPrice;
    private String createTime;
    private int state;
    private List<DetailListBean> detailList;
    private int orderNum;
    private int place;
    private int isToday;

    public int getIsToday() {
        return isToday;
    }

    public void setIsToday(int mIsToday) {
        isToday = mIsToday;
    }

    public int getPlace() {
        return place;
    }

    public TakeoutDetailInfo setPlace(int mPlace) {
        place = mPlace;
        return this;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public TakeoutDetailInfo setOrderNum(int mOrderNum) {
        orderNum = mOrderNum;
        return this;
    }

    public int getOutFoodID() {
        return outFoodID;
    }

    public void setOutFoodID(int outFoodID) {
        this.outFoodID = outFoodID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getOrderID() {
        return orderID;
    }

    public void setOrderID(String orderID) {
        this.orderID = orderID;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public List<DetailListBean> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<DetailListBean> detailList) {
        this.detailList = detailList;
    }

    public static class DetailListBean {
        /**
         * detailID : 61
         * orderID : 1505287279223
         * foodID : 1
         * foodName : 馒头
         * foodPrice : 1.4
         * foodCount : 2
         * foodUnit : 个
         */

        private int detailID;
        private String orderID;
        private int foodID;
        private String foodName;
        private double foodPrice;
        private int foodCount;
        private String foodUnit;

        public int getDetailID() {
            return detailID;
        }

        public void setDetailID(int detailID) {
            this.detailID = detailID;
        }

        public String getOrderID() {
            return orderID;
        }

        public void setOrderID(String orderID) {
            this.orderID = orderID;
        }

        public int getFoodID() {
            return foodID;
        }

        public void setFoodID(int foodID) {
            this.foodID = foodID;
        }

        public String getFoodName() {
            return foodName;
        }

        public void setFoodName(String foodName) {
            this.foodName = foodName;
        }

        public double getFoodPrice() {
            return foodPrice;
        }

        public void setFoodPrice(double foodPrice) {
            this.foodPrice = foodPrice;
        }

        public int getFoodCount() {
            return foodCount;
        }

        public void setFoodCount(int foodCount) {
            this.foodCount = foodCount;
        }

        public String getFoodUnit() {
            return foodUnit;
        }

        public void setFoodUnit(String foodUnit) {
            this.foodUnit = foodUnit;
        }
    }
}
